package com.yngrp.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.jeecgframework.core.common.entity.IdEntity;

/**
 *  @Description: 角色与工单状态
 *  @author  SLH
 *  @date  20160730
 */
@Entity
@Table(name = "yl_role_wostate")
public class Role2WoState extends IdEntity implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	/**角色编码**/
	private String roleCode;
	
	/**工单状态编码**/
	private String woStateCode;
	
	/**工单状态描述**/
	private String woStateDesc;
	
	/**排序**/
	private String sortNo;

	@Column(name ="role_code")
	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	@Column(name ="wostate_code")
	public String getWoStateCode() {
		return woStateCode;
	}

	public void setWoStateCode(String woStateCode) {
		this.woStateCode = woStateCode;
	}

	@Column(name ="sort_no")
	public String getSortNo() {
		return sortNo;
	}

	public void setSortNo(String sortNo) {
		this.sortNo = sortNo;
	}

	@Transient
	public String getWoStateDesc() {
		return woStateDesc;
	}

	public void setWoStateDesc(String woStateDesc) {
		this.woStateDesc = woStateDesc;
	}
}
